package util;

import common.Code;

import java.util.HashMap;

public class ControlUserCode {
    private static HashMap <String,Code> hashMap=new HashMap<>();
    public static void addCode(String id, Code code){
        hashMap.put(id,code);
    }
    public static Code getCode(String id){
        return hashMap.get(id);
    }
}
